package com.hr.service.impl;

import com.hr.pojo.*;
import java.util.List;

public interface UserService {

    public int countByExample(HrUserInfoExample example);

    public int deleteByExample(HrUserInfoExample example);

    public int deleteByPrimaryKey(Integer userid);

    public int insert(HrUserInfo record);

    public int insertSelective(HrUserInfo record);

    public List<HrUserInfo> selectByExample(HrUserInfoExample example);

    public HrUserInfo selectByPrimaryKey(Integer userid);

    public int updateByExampleSelective(HrUserInfo record,HrUserInfoExample example);

    public int updateByExample(HrUserInfo record,HrUserInfoExample example);

    public int updateByPrimaryKeySelective(HrUserInfo record);

    public int updateByPrimaryKey(HrUserInfo record);
    /**
     * @Author: WuJiwei
     * @Date: 2017/12/20 23:09
     * @Description: 查询所有用户信息
     * @Params: [hrUserInfos]
     * @Return java.util.List<com.hr.pojo.UserInfos>
     */
    List<UserInfos> findAllUserInfo(List<HrUserInfo> hrUserInfos);
    /**
     * @Author: WuJiwei
     * @Date: 2017/12/20 23:10
     * @Description: 删除用户信息
     * @Params: [userId]
     * @Return com.hr.pojo.ResultInfo
     */
    ResultInfo delectUserInfo(Integer userId);
    /**
     * @Author: WuJiwei
     * @Date: 2017/12/20 23:10
     * @Description: 添加用户
     * @Params: [hrUserInfo, hrDept, hrStation]
     * @Return com.hr.pojo.ResultInfo
     */
    ResultInfo addUserInfo(UserInfos userInfos);

    /**
     * @Author: WuJiwei
     * @Date: 2017/12/20 23:32
     * @Description: 编辑用户信息
     * @Params: [userInfos]
     * @Return com.hr.pojo.ResultInfo
     */
    ResultInfo editUserInfo(UserInfos userInfos);
}
